@import url(color.less);
#menu {
  padding: 10px;
  >.row {
    margin: 0px;
    >div {
      text-align: center;
      padding: 0px;
      transition: height 2s;
      overflow: hidden;
      min-height: 0;
       >a {
         display: block;
         >img {
           width: 50px;
           height: 50px;
         }
         >p {
           color:#5a5a5a;
           height: 20px;
           overflow: hidden;
         }
       }
    }
  }
}
#recommend {
  >.recommend-title {
    >a {
      background-color: @title-background-color;
      height: 35px;
      display: block;
      line-height: 35px;
      font-size: 18px;
      color: #fff;
      padding-left: 10px;
      position: relative;
    }
    >a:before {
      content: '';
      position: absolute;
      width: 23px;
      height: 23px;
      background-image: url('../images/more.png');
      background-size: 23px 23px;
      background-repeat:no-repeat;
      top:50%;
      transform: translateY(-50%);
      right: 10px;
    }
  }
  >.recommend-list {
    >.media {
      padding: 10px;
      .media-left {
          >a {
            >img {
              width: 99px;
              height: 100px;
            }
          }
      }
      .media-body {
          position:relative;
        >.normal-info {
          font-size: 18px;
          height: 75px;
          overflow: hidden;
          >.product-name {
            color: #333;
          }
          >.product-price {
            background-color: @title-background-color;
          }
        }
        >.other-info {
          position: absolute;
          bottom: 10px;
          font-size: 12px;
          color: #a1a1a1;
          width: 100%;
          >.from-time {

          }
          >.comment {
            position: relative;
            float: right;
            width: 80px;
            text-align: right;
          }
          >.comment:before {
            content: "";
            position: absolute;
            width: 15px;
            height: 15px;
            background-image: url('../images/ic_comment.png');
            background-size:15px 15px;
            background-repeat:no-repeat;
            top:50%;
            transform: translateY(-50%);
            left:0;
          }
        }
      }
    }
  }
  >.recommend-more {
    padding: 10px;
    background-color: #f2f2f2;
    >a {
      width: 100%;
      height: 30px;
      color: #5a5a5a;
      background-color: #f8f8f8;
      line-height: 30px;
      text-align: center;
      display: block;
      border: 1px solid #ccc;
      border-radius: 15px;
    }
  }
}
